package com.jimmy.medical.repository;

import com.jimmy.medical.entity.Sequences;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface SequencesRepository extends JpaSpecificationExecutor<Sequences>, PagingAndSortingRepository<Sequences, Long> {

    Sequences findFirstByDate(String date);
}
